<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs" data-field="is_using">
            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            <li><a href="#t-1" data-value="1" data-toggle="tab">无跟进</a></li>
            <li><a href="#t-2" data-value="2" data-toggle="tab">有跟进</a></li>
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('xiluhouse/appoint/appointlog/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('xiluhouse/appoint/appointlog/edit')?'':'hide'}" title="{:__('Edit')}" ><i class="fa fa-pencil"></i> {:__('Edit')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('xiluhouse/appoint/appointlog/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>

                        <a class="btn btn-success btn-recyclebin btn-dialog {:$auth->check('xiluhouse/appoint/appointlog/recyclebin')?'':'hide'}" href="xiluhouse/appoint/appointlog/recyclebin" title="{:__('Recycle bin')}"><i class="fa fa-recycle"></i> {:__('Recycle bin')}</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('xiluhouse/appoint/appointlog/edit')}" 
                           data-operate-del="{:$auth->check('xiluhouse/appoint/appointlog/del')}" 
                           data-operate-followlog="{:$auth->check('xiluhouse/appoint/followlog/add')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
